Skip to content

Fix HasOffsetValueType::searchArray #4013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2025

Conversation

VincentLanglet
Copy link
Contributor

See https://onlinephp.io/c/192c51

We're sure that the function cannot return false, but we cannot sure it's not an early key.

cc @herndlm since you implemented it.

Copy link
Contributor

@herndlm herndlm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thx!

@ondrejmirtes ondrejmirtes merged commit 424ef16 into phpstan:1.12.x Jul 17, 2025
311 of 312 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants